<!--{include header}-->

<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="recent-deals">
<!--{if option_yes('cateteam')}-->
	<div class="dashboard" id="dashboard">
		<ul>${current_teamcategory($group_id)}</ul>
	</div>
<!--{/if}-->
    <div id="content" class="coupons-box clear">
        <div class="box">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head"><h2>[<a href="javascript:void(0);" class="change" title="切换城市" onclick="jQuery('#city-change').click();">{$city['name']}</a>]{$category['name']}-{$pagetitle}</h2></div>
				<div class="sect">
					<ul class="list">
					<!--{loop $teams $index $one}-->
						<li>
							<div class="time">
								${date('Y-n-j', $one['begin_time'])}<br>到<br>${date('Y-n-j', $one['end_time'])}<br>结束
								<div class="auth"><!--{if $one['authenticate']==1}--><img border="0" src="/static/css/i/biz-authenticate-small.png"><!--{/if}--></div>
							</div>
							<div class="photo">
								<div class="{$one['picclass']}"></div>
								<a target="_blank" href="/team.php?id={$one['id']}">
								<img src="${team_image($one['image'], true)}" alt="{$one['title']}"></a>
							</div>
							
							<div class="desc">
								<h4><a target="_blank" href="/team.php?id={$one['id']}" title="{$one['title']}">{$one['title']}</a></h4>
								<p class="total"><strong class="count">{$one['now_number']}</strong>人购买</p>
								<p class="pir">
								<span>原价：<strong class="old"><span class="money">{$currency}</span>${moneyit($one['market_price'])}</strong></span>&nbsp;&nbsp;
								<span>折扣：<strong class="discount">${team_discount($one)}折</strong></span>&nbsp;&nbsp;
								<span>现价：<strong><span class="money">{$currency}</span>${moneyit($one['team_price'])}</strong></span>
								</p>
								<span id="info_a">
								单品节省：<strong class="cr"><span class="money">{$currency}</span>${moneyit($one['market_price']-$one['team_price'])}</strong>&nbsp;&nbsp;
								共节省:<strong class="count">{$currency}${moneyit($one['now_number']*($one['market_price']-$one['team_price']))}</strong></span>
								
							</div>
							
						</li>
					<!--{/loop}-->
					</ul>
					<div class="clear"></div>
					<div>{$pagestring}</div>
				</div>
            </div>
            <div class="box-bottom"></div>
        </div>
    </div>
	<div id="sidebar">
		<!--{include block_side_subscribe}-->
	</div>
</div>
    </div> <!-- bd end -->
</div> <!-- bdw end -->

<!--{include footer}-->
